package com.chiffoyqc.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/7/23.
 */
@Component
public class ConnectionExeception_Main {

    @Scheduled(cron = "0 0 15 * * ?")
//    @Scheduled(fixedDelay = 60 * 1000)
    public void connectionCheck(){
        new Thread(new ConnectionExeception_task()).start();
    }

}
